
package myExceptions;

public class myExeptionsbyDiferentNumer extends SecurityException{

    public myExeptionsbyDiferentNumer(Throwable cause) {
        super(cause);
    }

    public myExeptionsbyDiferentNumer(String message, Throwable cause) {
        super(message, cause);
    }

    public myExeptionsbyDiferentNumer(String s) {
        super(s);
    }

    public myExeptionsbyDiferentNumer() {
    }

    @Override
    public String getMessage() {
        String message = "ERROR: Los numeros deben ser diferentes";
        return message;
    }   
}
